/**
 * 
 */

package CCT220_Aula13_Exercicio02_13106;

/**
 * </br>******************************
 * </br>Project: CCT220
 * </br>Package: CCT220_Aula13_Exercicio02_13106
 * </br>Class: Disciplina
 * </br>Last Change: 04/10/2011 23:58:11
 * </br>Description: Entity of Disciplina
 * </br>******************************</br>
 * 
 * @author marcel
 * @author 13106
 * 
 */
public class Disciplina {

	private int    codigo;
	private String nome;
	private int    cargaHoraria;


	/**
	 * </br>******************************
	 * </br>Constructor for
	 * </br>Package: CCT220_Aula13_Exercicio02_13106
	 * </br>Class: Disciplina
	 * </br>LastChange: 04/10/2011 23:57:56
	 * </br>******************************</br>
	 * 
	 * @param codigo
	 * @param nome
	 * @param cargaHoraria
	 */
	public Disciplina(int codigo, String nome, int cargaHoraria) {

		super();
		this.codigo = codigo;
		this.nome = nome;
		this.cargaHoraria = cargaHoraria;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio02_13106
	 * </br>Class: Disciplina
	 * </br>Field: codigo
	 * </br>Last Change: 04/10/2011 23:57:39
	 * </br>Description: Geter for codigo
	 * </br>******************************</br>
	 * 
	 * @return the codigo
	 */
	public int getCodigo() {

		return codigo;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio02_13106
	 * </br>Class: Disciplina
	 * </br>Field: nome
	 * </br>Last Change: 04/10/2011 23:57:39
	 * </br>Description: Geter for nome
	 * </br>******************************</br>
	 * 
	 * @return the nome
	 */
	public String getNome() {

		return nome;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio02_13106
	 * </br>Class: Disciplina
	 * </br>Field: cargaHoraria
	 * </br>Last Change: 04/10/2011 23:57:39
	 * </br>Description: Geter for cargaHoraria
	 * </br>******************************</br>
	 * 
	 * @return the cargaHoraria
	 */
	public int getCargaHoraria() {

		return cargaHoraria;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio02_13106
	 * </br>Class: Disciplina
	 * </br>Field: codigo
	 * </br>Last Change: 04/10/2011 23:57:39
	 * </br>Description: Seter for codigo
	 * </br>******************************</br>
	 * 
	 * @param codigo
	 *            the codigo to set
	 */
	public void setCodigo(int codigo) {

		this.codigo = codigo;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio02_13106
	 * </br>Class: Disciplina
	 * </br>Field: nome
	 * </br>Last Change: 04/10/2011 23:57:39
	 * </br>Description: Seter for nome
	 * </br>******************************</br>
	 * 
	 * @param nome
	 *            the nome to set
	 */
	public void setNome(String nome) {

		this.nome = nome;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Aula13_Exercicio02_13106
	 * </br>Class: Disciplina
	 * </br>Field: cargaHoraria
	 * </br>Last Change: 04/10/2011 23:57:39
	 * </br>Description: Seter for cargaHoraria
	 * </br>******************************</br>
	 * 
	 * @param cargaHoraria
	 *            the cargaHoraria to set
	 */
	public void setCargaHoraria(int cargaHoraria) {

		this.cargaHoraria = cargaHoraria;
	}

}
